package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class DropBehavior {

    private int beginIndex;
    private int endIndex;
    private boolean cascade;
    private boolean restrict;

    public DropBehavior(int beginIndex,
                        int endIndex,
                        boolean cascade,
                        boolean restrict) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.cascade = cascade;
        this.restrict = restrict;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isCascade() {
        return cascade;
    }

    public boolean isRestrict() {
        return restrict;
    }

}
